package com.ruoyi.flowable.mapper;

import com.ruoyi.flowable.domain.WfForm;
import com.ruoyi.flowable.domain.bo.WfFormBo;
import com.ruoyi.flowable.domain.vo.WfFormVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * 流程表单Mapper接口
 *
 * @author KonBAI
 * @createTime 2022/3/7 22:07
 */
@Mapper
public interface WfFormMapper {

    List<WfFormVo> selectFormVoListByDeployId(@Param("deployId") String deployId);

    List<WfFormVo> selectListByCond(WfFormBo bo);

    int insert(WfForm wfForm);

    int updateById(WfForm wfForm);

    int deleteBatchIds(Collection<Long> ids);

    WfForm selectById(Long formId);

}
